import { IndexState } from './index.interface'

export default {
    namespace: 'index',
    state: {
        data: {}
    },

    effects: {
    },
    reducers: {
        save(state: IndexState, { payload }) {
            return { ...state, ...payload };
        },
    }
}